package com.hsjk.szwj.module.train.controller.app.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/08/28 11:42
 **/
@Schema(description = "应用端 - 订单sku信息 Response VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderSkuInfoRespVO {
    @Schema(description = "sku id",
            requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "spuId",
            requiredMode = Schema.RequiredMode.REQUIRED, example = "T2321232323123")
    private Long spuId;

    @Schema(description = "sku 名称",
            requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private String skuName;

    @Schema(description = "价格 单位：分",
            requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer price;

    @Schema(description = "原价格 单位：分",
            requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer originalPrice;

    @Schema(description = "图片地址",
            requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private String picUrl;

    @Schema(description = "库存",
            requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer stock;

    @Schema(description = "sku绑定集合信息",
            requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private List<OrderSkuBindInfoRespVO> skuBindList;
}
